﻿CREATE TABLE [dbo].[Web_EventReceiver] (
    [EventReceiverID] UNIQUEIDENTIFIER NOT NULL,
    [WebID]           UNIQUEIDENTIFIER NOT NULL,
    CONSTRAINT [PK_Web_EventReceiver] PRIMARY KEY CLUSTERED ([EventReceiverID] ASC, [WebID] ASC),
    CONSTRAINT [FK_Web_EventReceiver_EventReceiver] FOREIGN KEY ([EventReceiverID]) REFERENCES [dbo].[EventReceiver] ([EventReceiverID]),
    CONSTRAINT [FK_Web_EventReceiver_Web] FOREIGN KEY ([WebID]) REFERENCES [dbo].[Web] ([WebID])
);

